When migrating my DB, this error appears. Below is my code followed by the error that I am getting when trying to run the migration.
Code
Remember that this is important the referenced and referencing fields must have exactly the same data type.