dgrigg / craft-migration-assistant

Migration Manager for Craft CMS
Other
27 stars 10 forks source link

Feature Request: Include Field Id #12

Closed simeon-smith closed 5 years ago

simeon-smith commented 5 years ago

When modifying an existing field if you change the handle it appears to create a new field when the migration is run.

If you included the field ID and checked if it existed and if so modified it you could get around this.

dgrigg commented 5 years ago

@simeon-smith unfortunately the id values are not consistent between database hence the reliance on the handles/slug. It's not 100% perfect (as in the case of changes/deletions) but it's more reliable than the ids.