DB declarations. Not all 100% correct, but none should be incorrect or problematic