Need to register a app.db for AdminGen to register resource.