Create database on device.