rel-db: horrible hack to work-around initdevice foreign key violation