Database initialisation now works rather nicely.