MT#9763 add device_id column for pushd

(cherry picked from commit 9b6ddd46b9bd366140eb0a56fdb53279d01b77b2)
MT#9763 add key for device_id column

(cherry picked from commit 18ed7a9d15eff1a35e51796b6cfb16341e12b87d)