[BUGFIX] Copying tables in a migration was not mapping correctly.