Adding cutomer link to devices and unique key constraint for column device_id in table tokens.