Automatically create database

Thanks @alelefant that’s what I ended up doing to.