Set all DB options in a single resource

Previously indices could have been set before the DB was created. This simplifies even more.