Remove foreign key from models