db creation for proxy