Allow a database *or* model to be specified.