Database creation for snap.