Describe the bug
When using a custom type for an attribute with a default value the migration is generated with the internal value rather than the dump_to_native value
To Reproduce A minimal set of resource definitions and calls that can reproduce the bug.
Expected behavior
The generated migration to have the default value as the one that gets returned from dump_to_native
** Runtime
Additional context Add any other context about the problem here.