attachment module now support individual database