Added dev_id fk