Undeclared attribute type for enum 'sync_type'. Enums must be backed by a database column or declared with an explicit type via `attribute`

Yeah, someone wrote one in a pull request that wasn’t accepted

Or are you saying that the official plugin has a rake task to do that importing?