adding device db scaffold