db support for each model