db in resources