Yeah, when I saw it was still creating the foreign keys I tried everything to try and stop it (i thought it was my fault). So I ended up specifying everywhere - no_foreign_key.