* Handle unique indexes from schema ratherthan name
* make nullable foreign keys safe with headOption rathe rthan single
* make unique foreign keys signular