automating db creation for librenms