Hide foreign key stuff during tests